<template>
  <div class="tan" @click="$emit('hardClick')">
    <div class="content" >
      <router-link class="block" to='/overtime'>
          <span class="iconfont icon-jiaban"></span>
          加班
      </router-link>
      <router-link class="block"  to='/overtime'>
          <span class="iconfont icon-dujia"></span>
          休息
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
    methods:{

    }
};
</script>

<style lang='scss' scoped>
.tan{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.4);
    display: flex;
    flex-direction: column;
    .content{
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        background: white;
        width: 100%;
        height: 100px;
        display: flex;
        justify-content: space-around;
                    align-items: center;
        .block{
            display: flex;
            flex-direction: column;
            text-align: center;
        }
    }
}
</style>